{% extends "index.html" %}

{% load last_posts %}

{% block title %}
	{{ block.super }} - {{ post.title }}
{% endblock %}
	
{% block content %}
	<section class="blog-post">
		<header>
			<h3>{{ post.title }}</h3>
			<span class="date">{{ post.date|date:"Y-m-d" }} / {{ post.time }}</span>
		</header>
		<article>{{ post.content|safe }}</article>
		<footer>
			<span class="tags">
				Теги:
					{% for tag in post.taglist %}
						<!-- style="font-size: {{tag.font_size|add:"60"}}%;" -->
						<a href="/blog/tag/{{tag.name}}/" title="{{ tag.count }}">
							{{tag.name}}
						</a>
					{% endfor %}
				
			</span>
		</footer>
	</section>
{% endblock %}

{% block sidebar %}
	{% last_posts %}
{% endblock %}